package cn.wen.yinxiu.file.config;import cn.wen.yinxiu.common.base.ApplicationContextHolder;import cn.wen.yinxiu.file.properties.AttachmentFileProperties;import com.aliyun.oss.OSSClient;import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;/** * @ClassName: ApplicationConfiguration * @Author: 小飞 * @Date: 2023/5/25 21:51 * @Description: 注入配置 */@Configurationpublic class ApplicationConfiguration {    @Bean    public ApplicationContextHolder congoApplicationContextHolder() {        return new ApplicationContextHolder();    }    @Bean("fileConfig")    public AttachmentFileProperties fileProperties() {        return new AttachmentFileProperties();    }}